package com.yoyo.yyadsdk.util;

public class StringUtils {
    public static boolean eq(String s,String s1){
        return s != null && s.equals(s1);
    }

    public static boolean isNull(String str) {
        return str == null || str.isEmpty() || str.equals("null");
    }

    public static String notNull(String str) {
        return isNull(str) ? "" : str;
    }

    public static String notNull(String str, String defaultValue) {
        return isNull(str) ? defaultValue : str;
    }
}
